package com.dycx.food.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dycx.food.entity.ShoppingCartDO;
import com.dycx.food.vo.ShoppingCartVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface ShoppingCartFoodMapper extends BaseMapper<ShoppingCartDO> {

    List<ShoppingCartVO> getList(@Param("uid") Integer uid);

    List<ShoppingCartVO> getListByIds(@Param("uid") Integer uid, @Param("ids") List<Integer> ids);
}
